import '@climblee/uv-ui/index.scss'
import './uni.promisify.adaptor'
import uvUI from '@climblee/uv-ui'
import Vue from 'vue'
import App from './App'
import store from './store'

Vue.config.productionTip = false

/**
 * uv-ui 拓展配置
 * @see https://www.uvui.cn/js/intro.html
 */
Vue.use(uvUI)

uni.$uv.setConfig({
  config: {
    unit: 'rpx',
  },
})

App.mpType = 'app'

const app = new Vue({
  ...App,
  store,
})
app.$mount()
